<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script src="js/jquery-1.12.4.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/vue.min.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="div1">
			{{msg}}
			{{uuu}}
			<input type="button" @click="fnchange" value="修改值" />
			<!--{{txt}}
			<input type="button" @click="fnchange1('白马王子')" value="修改txt" />-->
		</div>
	</body>
	<script type="text/javascript">
		var val = 3>4?true:false
		document.write(val)
		var val2 = 2 =="2"?true:false
		document.write(val2)
		var vim = new Vue({
			el:"#div1",
			data:{
				msg:"hello world",
				uuu:"你好",
				txt:"青蛙王子"
			},
			methods:{
				fnchange:function(){
					this.msg = "黑马",
					this.uuu = "哈喽",
				}
			}
		})
			
		
	</script>
</html>
